const { defineConfig } = require('@vue/cli-service');
module.exports = defineConfig({
	transpileDependencies: true,
	pluginOptions: {
		'style-resources-loader': {
			preProcessor: 'scss',
			patterns: []
		}
	},
	devServer: {
		port: 8088,
		proxy: {
			'/api': {
				target: 'http://localhost/:8087', //对应自己的接口
				changeOrigin: false,
				ws: true,
				pathRewrite: {
					'^/api': ''
				}
			}
		}
	}
});
